-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 🎸 create table component and test in order #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Create in ui-shared our table components and testing they in order page with mock data
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) |
create sort component using ant design library
libs/ui/ui-shared/src/lib/components/CustomSelect/CustomSelect.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomSelect/CustomSelect.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomTable/Table.module.scss
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomInput/CustomInput.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomInput/CustomInput.tsx
Outdated
Show resolved
Hide resolved
apps/fe-admin/src/components/ActionButtons/ActionButtons.module.scss
Outdated
Show resolved
Hide resolved
apps/fe-admin/src/components/Modal/modalType/order/addOrder.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomModal/CustomModal.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomSelect/CustomSelect.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomSelect/CustomSelect.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomTable/CustomTable.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomTable/CustomTable.tsx
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomModal/modals/DeleteModal.tsx
Outdated
Show resolved
Hide resolved
|
i think for delete we can make universal DeleteModal, but for editing we wanna create different modals component or what? write all logic, form and another in page? |
|
AddModal maybe only for products, edit for user and product. OrderPage must have only delete |
|
And what we go post on our DashboardPage? |
apps/fe-admin/src/components/ActionButtons/ActionButtons.module.scss
Outdated
Show resolved
Hide resolved
libs/ui/ui-shared/src/lib/components/CustomTable/CustomTable.tsx
Outdated
Show resolved
Hide resolved
resolve changes BREAKING CHANGE: 🧨 resolve changes ✅ Closes: resolve changes
|
i add logic to editOrderModal but i think we don`t need this modal, what u think about it? |
libs/ui/ui-shared/src/lib/components/CustomButton/CustomButton.module.scss
Outdated
Show resolved
Hide resolved
You can use your base modal, but pass forms and buttons in the children |
| }); | ||
|
|
||
| const handleDelete = (id: number) => { | ||
| setOrderData(orderData.filter((item) => item.id !== id)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use prev value


Create in ui-shared our table components and testing they in order page with mock data